﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AMS.PizzaDecoratorDemo
{
    public class UltimateVillage : IPizza
    {
        public PizzaSize Size { get; set; }

        public UltimateVillage(PizzaSize size)
        {
            Size = size;
        }

        public double GetPrice()
        {
            // hard coded is bad; should make this a property?
            return 10d + (((double)Size) * 2d);  // $4 plus $2/size increase from Small
        }

        public string GetDescription()
        {
            return String.Format("{0} Ultimate Village Pizza", Size.ToString());
        }
    }
}
